/*************************************************************************
	> File Name: Book.java
	> Author: 
	> Mail: 
	> Created Time: 2018年03月28日 星期三 11时16分13秒
 ************************************************************************/

public class Book{
    String bookname;
    String author;
    String press;
    String copyrightdate;

    public Book(String bn, String ah, String pr, String crt){
        bookname = bn;
        author = ah;
        press = pr;
        copyrightdate = crt;
    }
    public void  Book(String bn, String ah, String pr, String crt){
        bookname = bn;
        author = ah;
        press = pr;
        copyrightdate = crt;
    }
    
    public void setBookname(String bn){
        bookname = bn;
    }
    public String getBookname(){
        return bookname;
    }
    public String toString(){
        return bookname+"\t\t"+author+"\t"+press+"\t"+copyrightdate;
    }
}

